import request from "../util/request";
import qs from 'querystring'
//获取手机验证码
export function GetTelephoneCode (params) {
    return request({
        url : '/user/code',
        method :'post',
        params
    })
}

//获取邮箱验证码
export function GetEmailCode (params) {
	return request({
	    url : '/user/email',
	    method :'post',
	    params
	})
}

//获取设置相关的配置接口
export function GetSetting(params) {
    return request({
        url : '/utility/setting',
        method : 'post',
        params
    })
}

//获取首页货币行情
export function GetMarket (params) {
    return request({
        url : '/utility/market',
        method : 'post',
        params
    })
}

//首页数据
export function HomeHandle (params) {
    return request({
        url : '/trade/home',
        method : 'post',
        params
    })
}

//获取内容详情
export function GetContentById (params) {
    return request({
        url : '/utility/content',
        method : 'post',
        params
    })
}